package com.iespring.mapper.admin;

import com.iespring.bean.admin.promotion.po.MallTopic;
import com.iespring.bean.admin.promotion.po.MallTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * @Author:ZhangShuPeng
 * @Date:2022/12/28/23:16
 * @Description:
 */
public interface MallTopicMapper {
    long countByExample(MallTopicExample example);

    int deleteByExample(MallTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallTopic record);

    int insertSelective(MallTopic record);

    List<MallTopic> selectByExample(MallTopicExample example);

    MallTopic selectByPrimaryKey(Integer id);

    List<MallTopic> selectAllTopic();

    int updateByExampleSelective(@Param("record") MallTopic record, @Param("example") MallTopicExample example);

    int updateByExample(@Param("record") MallTopic record, @Param("example") MallTopicExample example);

    int updateByPrimaryKeySelective(MallTopic record);

    int updateByPrimaryKey(MallTopic record);


}